package android.exception;

/**
 * @author winkyle
 * @date 2018/06/22
 * @description 自定义异常类
 */
public class CustomException extends RuntimeException {
	
	private static final long serialVersionUID = 1L;
	private int code;
	
	public CustomException(int code,String msg) {
		super(msg);
		this.code = code;
	}

	public int getCode() {
		return code;
	}
}
